export default function formatJoinDate(date) {
  var date = new Date(parseInt(date) * 1000);
  var Y = date.getFullYear();
  var M = date.getMonth();
  switch (M) {
    case 0:
      M = '一月';
      break;
    case 1:
      M = '二月';
      break;
    case 2:
      M = '三月';
      break;
    case 3:
      M = '四月';
      break;
    case 4:
      M = '五月';
      break;
    case 5:
      M = '六月';
      break;
    case 6:
      M = '七月';
      break;
    case 7:
      M = '八月';
      break;
    case 8:
      M = '九月';
      break;
    case 9:
      M = '十月';
      break;
    case 10:
      M = '十一月';
      break;
    case 11:
      M = '十二月';
      break;
  }
  return {
    Year: Y, 
    Month: M
  };
}